<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<div class="pageFormContent" layoutH="56">
	<fieldset>
		<dl>
			<dt>姓名：</dt>
			<dd>
				<input name="userName" class="required" maxlength="18" type="text"
					size="30" alt="请输入姓名" value="${emailSetModel.userName}" />
			</dd>
		</dl>

		<dl>
			<dt>手机：</dt>
			<dd>
			<dd>
				<input name="mobile" class="required mobile textInput "
					maxlength="11" type="text" size="30" alt="请输入手机"
					value="${emailSetModel.mobile}" />
			</dd>
			</dd>
		</dl>
		<dl>
			<dt>邮箱：</dt>
			<dd>
			<dd>
				<input name="email" class="required email textInput" maxlength="30"
					type="text" alt="请输入邮箱" size="30" value="${emailSetModel.email}" />

			</dd>
			</dd>
		</dl>
		<dl>
			<dt>接收异常类型：</dt>
			<dd>
			<dd>
			<c:if test="${empty emailSetModel}">
			
			<input type="checkbox" name="errorType" value="0"checked="checked" >点击异常
			<input type="checkbox" name="errorType" value="1" >注册异常
			</c:if>
			<c:if test="${not empty emailSetModel}">
				<input type="checkbox" name="errorType" value="0" ${emailSetModel.errorType eq "0"||emailSetModel.errorType eq "2" ? "checked='checked'" : ""}>点击异常
				 <input type="checkbox" name="errorType" value="1" ${emailSetModel.errorType eq "1"||emailSetModel.errorType eq "2" ? "checked='checked'" : ""}>注册异常
				</c:if>

			</dd>
			</dd>
		</dl>
		<dl>
			<dt>邮箱发送：</dt>
			<dd>
				<c:if test="${empty emailSetModel}">
					<input type="radio" name="isSend" value="0" checked="checked">是
			<input type="radio" name="isSend" value="1">否
		</c:if>
				<c:if test="${not empty emailSetModel}">
					<input type="radio" name="isSend" value="0"
						${emailSetModel.isSend eq "0" ? "checked='checked'" : ""}>是
		<input type="radio" name="isSend" value="1"
						${emailSetModel.isSend eq "1" ? "checked='checked'" : ""}>否
		</c:if>
			</dd>
		</dl>
	</fieldset>
</div>
<div class="formBar">
	<ul>
		<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
		<li><div class="buttonActive">
				<div class="buttonContent">
					<button type="submit">保存</button>
				</div>
			</div></li>
		<li>
			<div class="button">
				<div class="buttonContent">
					<button type="button" class="close">取消</button>
				</div>
			</div>
		</li>
	</ul>
</div>
